/************************************************
* BricaBox css overrides
* (c) 2007-2008 BricaBox, LLC
************************************************/

/************************************************
* globals
************************************************/
body {
	background: #efefef;
	color: #111;
	font: 12px/1 "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	text-align: center;
	margin: 0 !important;
	padding: 0 !important;
}

h5.alert {
	margin: 8px 0;
	padding: 5px 24px;
	border-width: 1px;
	border-style: solid;
	background-position: 5px 50%;
	background-repeat: no-repeat;
}

h5.alert.error {
	background-image: url(/assets/images/icons/error.png);
	background-color: #fdfae6;
	color: #e3ad31;
	border-color: #f1d485;
}

h5.alert.good {
	background-image: url(/assets/images/icons/tick.png);
	background-color: #e6f4e4;
	color: #478e40;
	border-color: #83c978;
}

h5.alert strong {
	font-weight: bold;
}

#bricabox_header h1 a {
	border: none;
}

table {
	margin: 8px 0;
	width: 100%;
}

table td {
	padding: 5px;
}

table thead td {
	background: #111;
	color: #fff;
}

table tbody td {
	border-bottom: 1px solid #ddd;
}

table tbody tr.odd td {
	background: #f3f3f3;
}

table tbody tr.edit td {
	background: #deeff8;
	border-top: 1px solid #0085cf;
	border-bottom: 1px solid #0085cf;
}

table tbody tr.bottom td {
	border-top: 2px solid #ddd;
	border-bottom: none;
	padding: 16px 0;
}

#new_panel {
	background: #ff7;
	color: #111;
	padding: 8px;
}

#new_panel h1 {
	font-size: 26px;
	line-height: 28px;
	color: #00b853;
}

#new_panel h3 {
	font-size: 18px;
	font-weight: bold;
	margin: 3px 0;
	line-height: 20px;
}

#new_panel li {
	background: #ff9;
	margin: 1px 0;
}

#new_panel a {
	border: none;
	font-size: 20px;
	line-height: 24px;
	margin-left: 3px;
	padding-left: 27px;
	background: transparent url(/assets/images/checkmark.png) 0 50% no-repeat !important;
	color: #c3c3b3;
	text-decoration: line-through;
}

#new_panel li.undone a {
	color: #0085cf;
	background: transparent url(/assets/images/checkmark_off.png) 0 50% no-repeat !important;
	text-decoration: none;
}

p.info_pee {
	font-size: 15px;
	line-height: 18px;
}

.other_bricaboxes h2 {
	margin: 11px 0 3px;
	font-size: 13px !important;
	border-bottom: 2px solid #111;
	font-weight: bold;
}

.other_bricaboxes li {
	line-height: 18px;
}

#edit_layout {
	margin-bottom: 13px;
}

#edit_layout a, #edit_layout a:hover {
	background: #fff;
	color: #0085cf;
	border: 1px solid #ddd;
	padding: 3px;
}

#edit_layout a.on {
	background: #deeff8;
	color: #0085cf;
	border-color: #0085cf;
}

.dragme {
	background: #111;
	color: #fff;
	font-size: 11px;
	padding: 1px;
	cursor: move;
	pointer: move;
}

.edit_block_links {
	padding-top: 3px;
}

.edit_block_links a {
	background: #deeff8;
	color: #0085cf !important;
	border: none !important;
}

.edit_block_links img {
	vertical-align: middle;
}

.column.edit_1 {
	padding-bottom: 13px;
}

.drophelper {
	border: 3px solid #ddd;
}

.dropover {
	background-color: #0085cf !important;
	background-image: url(/assets/images/icons/tick.png) !important;
	color: #fff !important;
}

.drop_locale {
	margin: 8px 0;
	padding: 8px 0 8px 21px;
	border: 1px solid #447a41;
	font-weight: bold;
	color: #447a41;
	background: url(/assets/images/icons/arrow_right.png) 3px 50% no-repeat;
}

#block_catalog {
	margin-top: 3px;
	padding: 8px;
	background: #111 url(/assets/images/steel.gif) top left repeat;
	color: #fff;
}

#block_catalog .add_block {
	float: left;
	text-transform: uppercase;
	background: #aaa url(/assets/images/add_block_bg.gif) top left repeat-x;
	color: #fff;
	border: 1px solid;
	border-color: #bbb #333 #333 #bbb;
	margin: 3px 8px 3px 0;
	padding: 5px;
	cursor: move;
	pointer: move;
}

.block_instance li {
	line-height: 18px;
}

.wiki_text p {
	margin-bottom: 11px;
}

.wiki_text strong { font-weight: bold; }
.wiki_text em	  { font-style: italic; }

/************************************************
* page structure
************************************************/
#wrap_inner {
	margin: 0 auto;
	-width: 900px !important;
}

#bricabar, #wrap_inner, #footer {
	text-align: left;
	padding: 5px;
}

#new_entry {
	width: 580px;
	margin-right: 30px;
}

.three_col .third {
	float: left;
	width: 285px;
	margin-right: 15px;
}

.three_col .third.small {
	width: 175px;
}

.rss_block {
	margin-top: 11px;
}

.rss_block h6 {
	font-weight: bold !important;
	margin-bottom: 3px;
}

.rss_block a {
	font-size: 11px;
	background: transparent url(/assets/images/rss.png) 0 50% no-repeat !important;
	border: none !important;
	padding: 2px 0 2px 17px;
	line-height: 18px;
}

/************************************************
* form styles
************************************************/
form fieldset {
	margin: 8px 0;
}

form fieldset div {
	margin-bottom: 8px;
}

form fieldset div.controls {
	margin-bottom: 0;
}

form fieldset label {
	line-height: 18px;
}

form fieldset label span.req {
	font-weight: bold;
	color: #933;
}

form fieldset label.openid {
	background: url(/assets/images/openid.gif) 0 50% no-repeat;
	padding-left: 18px;
}

form fieldset .bricabox_id {
	margin-top: 15px;
}

form fieldset .bricabox_id p {
	margin-top: 5px;
}

.block_header {
	margin: 5px 0;
}

.block_header label {
	font-weight: bold;
	font-size: 11px;
}

a.toggle {
	font-weight: bold;
	font-size: 11px;
	color: #1f1f1f;
	background: #fff url(/assets/images/icons/cog.png) 0 50% no-repeat !important;
	padding: 3px 0 3px 18px;
	border-bottom: none !important;
}

a.toggle_prefs {
	color: #1f1f1f !important;
}

.block_header fieldset, .block_header fieldset a {
	color: #111 !important;
	border-bottom-color: #ddd !important;
}

.block_header fieldset {
	background: #f5f5f5;
	border: 1px solid #ddd;
	padding: 3px;
}

/************************************************
* bricabar
************************************************/
#bricabar {
	background: #fff;
	border-bottom: 1px solid #f3f3f3;
}

#bricabar a {
	border: none;
	color: #111;
}

#bricabar #logo {
	float: left;
}

#bricabar #nav {
	float: right;
	line-height: 18px;
}

#bricabar a.left_nav,
#bricabar #nav a {
	font-size: 11px;
	text-decoration: none;
}

#bricabar a.left_nav {
}

#bricabar #nav a.user {
	padding: 3px 8px 3px 24px;
	background: url(/assets/images/user_chevron.png) 0 50% no-repeat;
}

#bricabar #nav a:hover {
	background-color: #0085cf;
	color: #deeff8;
}

#bricabar #nav a.user strong {
	font-weight: bold;
}

#bricabar #nav a.user.open {
	background-color: #001a29;
	background-image: url(/assets/images/user_chevron_open.png);
	color: #fff;
	padding-top: 18px;
	padding-bottom: 18px;
}

/************************************************
* user panel
************************************************/
#user_panel {
	position: relative;
	background: #001a29;
	color: #fff;
	text-align: center;
}

#user_panel_inner {
	margin: 0 auto;
	width: 900px;
	text-align: left;
	padding: 8px 0;
}

#user_panel h1 {
	margin-top: 0 !important;
	font-weight: normal !important;
}

#user_panel h1 img {
	vertical-align: middle;
	padding: 3px;
	background: #fff;
	border-right: 1px solid #111;
	border-bottom: 1px solid #111;
}

#user_panel a {
	color: #fff;
}

#user_panel p {
	margin-top: 8px;
	line-height: 16px;
}

/************************************************
* footer
************************************************/
#footer {
	background: #efefef url(/assets/images/footer_bg.png) top left repeat-x;
	padding: 15px;
	font-size: 11px;
	color: #555;
}

#footer a {
	color: #555;
	text-decoration: underline;
}

#footer p.admin {
	margin-top: 4px;
}

#footer p.admin strong {
	font-weight: bold;
}

/************************************************
* app content
************************************************/
.share_this {
	margin-top: 5px;
}

.share_this a {
	border: none !important;
}

#wrap tr.edit a:hover {
	background-color: #fff;
}

#wrap td a.edit, #wrap td a.delete, #wrap td a.new {
	border: none;
	background: transparent;
}

#wrap td a.new, #wrap td a.edit {
	padding-left: 18px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}

#wrap td a.new {
	background-image: url(/assets/images/plus_big.png);
	font-weight: bold;
	padding: 30px 0 30px 32px;
	color: #30b237;
}

#wrap td a.edit {
	background-image: url(/assets/images/icons/pencil.png);
}

#wrap td a.delete img {
	vertical-align: middle;
}

#user_panel h1 {
	font: bold 28px/32px Helvetica, Arial, Verdana, sans-serif;
	margin-top: 3px;
}

ul.user_stats li {
	margin-bottom: 3px;
	padding: 3px 0 3px 19px;
	background-color: #fff;
	background-position: 0 50%;
	background-repeat: no-repeat;
}

ul.user_stats li.member 	{ background-image: url(/assets/images/icons/calendar.png); }
ul.user_stats li.follow 	{ background-image: url(/assets/images/icons/tick.png); }
ul.user_stats li.unfollow 	{ background-image: url(/assets/images/icons/cross.png); }
ul.user_stats li.you span	{ background-color: #ff5; }

/* TODO: temporary -- Activity stream */
div.activity_stream {
	margin: 8px 0;
	xcolor: #111;
}

div.activity_stream h3 {
	font-size: 13px;
	xcolor: #fff;
	xbackground: #0085cf;
	padding: 3px;
}

div.activity_stream h3 a {
	xcolor: #fff !important;
	border: none !important;
	background: transparent !important;
	margin-right: 15px;
}

div.activity_stream h3 a.active {
	xbackground: #fff !important;
	xcolor: #0085cf !important;
}

div.activity_stream ul li {
	line-height: 18px;
	xbackground: #deeff8;
	margin: 2px 0;
	padding: 2px 4px;
}

div.activity_stream ul li a {
	xbackground: #fff;
	xcolor: #0085cf !important;
	xborder: none !important;
}

/************************************************
* entries
************************************************/
#new_entry {
	position: relative;
	border: 1px solid #0085cf;
	background: #deeff8;
	margin-bottom: 8px;
	padding: 8px 5px;
	color: #111;
}

#new_entry .close, #user_panel .close {
	position: absolute;
	top: 3px;
	right: 3px;
	border: none;
}

#new_entry span.step {
	padding: 3px 5px;
	color: #0085cf;
	background: #fff;
	font-weight: bold;
}

#new_entry div.step {
	padding-top: 8px;
	border-top: 2px solid #fff;
}

#new_entry div.step.small a {
	font-size: 11px;
	border: none;
	color: #0085cf !important;
}

#new_entry #content_field1_value {
	font-size: 18px;
	font-weight: bold;
}

#new_entry .controls a {
	color: #111 !important;
	border-bottom-color: #ddd;
}

/************************************************
* block > maps
************************************************/
#blocks .map_bubble h3 a {
	font-size: 15px;
	font-weight: bold;
	color: #0085cf !important;
	border-color: #ddd !important;
}

#blocks .map_bubble p {
	padding: 5px 0;
	line-height: 15px;
	color: #111 !important;
}

/************************************************
* block > embed
************************************************/
.embed_item {
	padding-bottom: 5px;
}

.embed_item h2 a {
	color: #fff;
	background: #1f1f1f;
	padding: 3px;
	font-size: 13px;
}

/************************************************
* self-clearing floats
************************************************/
.clearfix:after,
#bricabar:after,
#bricabox_tabs:after,
#content_header:after,
.panels:after,
#sub_tabs:after,
#blocks:after,
.three_col:after,
#custom_group_theme:after,
#block_catalog:after {
	clear: both;
	content: ".";
	display: block;
	visibility: hidden;
	height: 0;
}